-- GENERATED SPELL FOR [Stromgarde Vindicator] --


function spell0_2585(pUnit, Event) --@Vengeance,Self--
pUnit:FullCastSpellOnTarget(8602,pUnit)
pUnit:RegisterEvent('Sorts_2585', 10289, 1)
end

function Sorts_2585(pUnit, Event)
local choix_sorts_2585 = math.random(0, 0)
if choix_sorts_2585 == 0 then
pUnit:RegisterEvent('spell0_2585', 1, 1)
end
end

function mob2585_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2585', math.random(1500, 3000), 1)
end

function mob2585_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2585_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2585_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2585, 1, 'mob2585_Action')
RegisterUnitEvent(2585, 2, 'mob2585_Leave')
RegisterUnitEvent(2585, 3, 'mob2585_Kill')
RegisterUnitEvent(2585, 4, 'mob2585_Die')
